Priority Queue Sorting and Labeled Trees
نویسنده
چکیده
The priority queue discussed in this talk is an abstract data type supporting theoperations INSERT and DELETEMIN, which transforms an input permutation σ oflength n to an output permutation τ . Atkinson and Thiyagarajah [2] proved that suchpairs (σ, τ) are counted by (n + 1)n−1. This is also well known as Cayley’s formulain graph theory, which counts the number of labeled trees of n vertices. In this talk,I will introduce several bijections between pairs (σ, τ) and labeled trees, and somerelated enumerative and algorithmic results in [1, 2, 3, 4, 5]. References[1] M.D. Atkinson and R. Beals, Priority queues and permutations, SIAM J. Comput. 23(1994) 1225–1230.[2] M.D. Atkinson and M. Thiyagarajah, The permutational power of a priority queue,BIT 33 (1993) 2–6.[3] A.M. Hamel, Priority queue sorting and labeled trees, Annals of Combinatorics, 7(2003) 49–54.[4] I.M. Gessel and K.-Y. Wang, A bijective approach to the permutational power of apriority queue, unpublished.[5] M. Golin and S. Zaks, Labelled trees and pairs of input-output permutations in priorityqueues, Theoret. Comput. Sci. 205 (1998) 99–114.
منابع مشابه
Priority queues and the Bruhat order
Valid input-output pairs for priority queue sorting—the “Insert /DeleteMaximum” paradigm—are characterized in terms of paths in the Hasse diagram for the weak Bruhat order on permutations. The priority queue process on a permutation works as follows. Start with a permutation (the initial input) on the left, a container in the middle and an output permutation, initially empty, on the right. A st...
متن کاملAU EIWRICAL COIUPARISON OF PRIORITY-QUEUE AUD EVEUFSET lMPLElWEUTd?lONS
During the last decade, a number of new priorityqueue implementations have evolved, including pagodas [6, 261, skew heaps [21, 221, splay trees [21, 231, pairing heaps 1183, and binomial queues [4, 5, 241. In addition, a number of special priority-queue implementations for representing the pending event set in discrete event simulation Shave been developed, including the two-list implementation...
متن کاملA Bijective Approach to the Permutational Power of a Priority Queue
A priority queue transforms an input permutation p1 of a totally ordered set of size n into an output permutation p2. Atkinson and Thiyagarajah showed that the number of such pairs (p1; p2) is (n+1)n 1, which is well known to be the number of labeled trees on n + 1 vertices. We give a new proof of this result by finding a bijection from such pairs of permutations to labeled trees.
متن کاملA simpler implementation and analysis of Chazelle's soft heaps
Chazelle (JACM 47(6), 2000) devised an approximate meldable priority queue data structure, called Soft Heaps, and used it to obtain the fastest known deterministic comparison-based algorithm for computing minimum spanning trees, as well as some new algorithms for selection and approximate sorting problems. If n elements are inserted into a collection of soft heaps, then up to εn of the elements...
متن کاملEquivalence between Priority Queues and Sorting in External Memory
A priority queue is a fundamental data structure that maintains a dynamic ordered set of keys and supports the followig basic operations: insertion of a key, deletion of a key, and finding the smallest key. The complexity of the priority queue is closely related to that of sorting: A priority queue can be used to implement a sorting algorithm trivially. Thorup [11] proved that the converse is a...
متن کامل